#ifndef _DAG_TEACH_H_
#define _DAG_TEACH_H_

#include "dag.h"

#include <set>
#include <map>

namespace dag {

	
	DAG_LOCAL void teach_graph(const Graph& graph, 
							   const FrameDepot* input,
							   const FrameDepot* output);
	
	DAG_LOCAL void learn_node_set(const Graph& graph, 
								  const std::set<Node*>& nodes, 
								  std::map<Node*, FrameDepot*>& inputFrames,
								  std::map<Node*, FrameDepot*>& outputFrames);
	
	
	
}

#endif